<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>轮播图</title>
		<link rel="stylesheet" type="text/css" href="css/index.css"/>
		<script src="../JS/myAnimation2.js" type="text/javascript" charset="utf-8"></script>
		<script src="./js/index.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="slider" class="slider">
			<div class="slider_scroll" id="slider_scroll">
				<div id="slider_main" class="slider_main">
					<div class="item">
						<a href="#">
							<img src="images/1.jpg" width="400px">
						</a>
					</div>
					<div class="item">
						<a href="#">
							<img src="images/2.jpg" width="400px">
						</a>
					</div>
					<div class="item">
						<a href="#">
							<img src="images/3.jpg" width="400px">
						</a>
					</div>
					<div class="item">
						<a href="#">
							<img src="images/4.jpg" width="400px">
						</a>
					</div>
				</div>
				<span id="next" class="next"></span>
				<span id="prev" class="prev"></span>
			</div>
			<div id="slider_index" class="slider_index">
				<!-- 通过JS动态生成索引 -->
			</div>
		</div>
	</body>
</html>
